package com.lxs.controller;

import com.lxs.service.WeatherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lxs
 * @Title: LiveFindController
 * @ProjectName lxs_cloud
 * @Description: TODO
 * @date 2019/2/12  16:08
 */
@RestController
public class LiveFindController {

    @Autowired
    WeatherService  weatherService ;

    @GetMapping("/getweatherinfo")
    public String  getWeatherInfo(){
     return weatherService.liveWaveFinder();
    }
}
